<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<html>
	<head>
		
		<title>会员列表</title>
		<script type="text/javascript" src="gko100/back/admin/js/onclick.js"></script>
		<style type="text/css">
		<!--
		body {
			margin-left: 0px;
			margin-top: 0px;
			margin-right: 0px;
			margin-bottom: 0px;
		}
		.STYLE1 {font-size: 12px}
		.STYLE3 {font-size: 12px; font-weight: bold; }
		.STYLE4 {
			color: #03515d;
			font-size: 12px;
		}
		-->
		</style>
	
	</head>

<body>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<form action="userList_del" method="post" name="userListDel">
	<tr>
    	<td height="30" background="gko100/back/admin/images/tab_05.gif">
    		<table width="100%" border="0" cellspacing="0" cellpadding="0">
      			<tr>
        			<td width="12" height="30">
        				<img src="gko100/back/admin/images/tab_03.gif" width="12" height="30" />
        			</td>
        			<td>
        				<table width="100%" border="0" cellspacing="0" cellpadding="0">
          					<tr>
            					<td width="46%" valign="middle">
            						<table width="100%" border="0" cellspacing="0" cellpadding="0">
              							<tr>
                							<td width="5%">
                								<div align="center">
                									<img src="gko100/back/admin/images/tb.gif" width="16" height="16" />
                								</div>
                							</td>
                							<td width="95%" class="STYLE1">
                								<span class="STYLE3">你当前的位置</span>：[会员信息管理]-[查看会员信息]
                							</td>
              							</tr>
            						</table>
            					</td>
          					</tr>
        				</table>
        			</td>
        			<td width="16"><img src="gko100/back/admin/images/tab_07.gif" width="16" height="30" /></td>
      			</tr>
    		</table>
    	</td>
  	</tr>
	
  	<tr>
    	<td>
    		<table width="100%" border="0" cellspacing="0" cellpadding="0">
      			<tr>
        			<td width="8" background="gko100/back/admin/images/tab_12.gif">&nbsp;</td>
        			<td>
        				<table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" onmouseover="changeto()"  onmouseout="changeback()">
          					<tr>
            					<td width="5%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">选择</span></div></td>
            					<td width="5%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">序号</span></div></td>
            					<td width="10%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">会员名</span></div></td>
            					<td width="10%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">注册时间</span></div></td>
            					<td width="10%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">上次登陆时间</span></div></td>
            					<td width="10%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">邮件地址</span></div></td>
            					<td width="10%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">审核状态</span></div></td>
            					<td width="30%" height="22" background="gko100/back/admin/images/bg.gif" bgcolor="#FFFFFF" class="STYLE1"><div align="center">基本操作</div></td>
          					</tr>
          					<s:iterator value="userList" id="ul">
          						<tr>
	            					
	            					<td height="20" bgcolor="#FFFFFF">
						            	<div align="center" class="STYLE1">
						              		<input type="checkbox" name="checkboxListDel" value="<s:property value='#ul.userId' />" />
						            	</div>
						            </td>

						            <td height="20" bgcolor="#FFFFFF">
						            	<div align="center" class="STYLE1">
						              		<span class="STYLE1"><s:property value="#ul.userId" /></span>
						            	</div>
						            </td>
	            					<td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1"><s:property value='#ul.name' /></span></div></td>
	            					<td height="20" bgcolor="#FFFFFF">
	            						<div align="center">
	            							<span class="STYLE1">
	            								<s:date name="#ul.signDate" format="yyyy-MM-dd hh:mm:ss" />
	            							</span>
	            						</div>
	            					</td>
	            					<td height="20" bgcolor="#FFFFFF">
	            						<div align="center">
	            							<span class="STYLE1">
	            								<s:date name="#ul.lastSignDate" format="yyyy-MM-dd hh:mm:ss" />
	            							</span>
	            						</div>
	            					</td>
	            					<td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1"><s:property value='#ul.email' /></span></div></td>
	            					<td height="20" bgcolor="#FFFFFF">
	            						<div align="center">
	            							<span class="STYLE1">
	            								<s:if test="#ul.permState==false">
	            								未通过审核
	            								</s:if>
	            								<s:elseif test="#ul.permState==true">
	            								已通过审核
	            								</s:elseif>
	            								
	            							</span>
	            						</div>
	            					</td>
	            					
	            					<td height="20" bgcolor="#FFFFFF">
	            						<div align="left">
	            							
	            							<a href="user_upload.action?user.userId=<s:property value='#ul.userId' /> ">
	            								<img src="gko100/back/admin/images/edt.gif" width="16" height="16" />会员信息审核
	            							</a>
	            							<a href="userPerm_upload.action?user.userId=<s:property value='#ul.userId' /> ">
	            								<img src="gko100/back/admin/images/edt.gif" width="16" height="16" />权限信息更新
	            							</a>
	            							
            								<s:if test="#ul.deleteFlag==false">
	            								<a href="user_del.action?user.userId=<s:property value='#ul.userId' /> ">
	            									<img src="gko100/back/admin/images/edt.gif" width="16" height="16" />
	            									会员信息删除
	            								</a>
            									</s:if>
            									
            								<s:elseif test="#ul.deleteFlag==true">
	            								<a href="user_cdel.action?user.userId=<s:property value='#ul.userId' /> ">
		            								<img src="gko100/back/admin/images/edt.gif" width="16" height="16" />
		            								彻底删除
	            								</a>
            								</s:elseif>
	            								
	            							</a>
	            						</div>
	           						</td>
          						</tr>
          					</s:iterator>
          				</table>
          			</td>
          		</tr>
          	</table>
          </td>
       </tr>
          
		<tr>
			<td height="35" background="gko100/back/admin/images/tab_19.gif">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="12" height="35"><img src="gko100/back/admin/images/tab_18.gif" width="12" height="35" /></td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
  										<td class="STYLE4">&nbsp;&nbsp;第<s:property value="pageNo" />页 &nbsp;共<s:property value="pageCount" />页</td>
 										<td>
 												<table border="0" align="right" cellpadding="0" cellspacing="0">
     												<tr>
             											<td width="40">
              												<a href="userList_find.action?pageNo=1">
              													<img src="gko100/back/admin/images/first.gif" width="37" height="15" />
              												</a>
             											</td>
            											<td width="45">
	             											<s:if test="pageNo>1" >
				                  								<a href="userList_find.action?pageNo=<s:property value='pageNo-1' /> ">
				     										</s:if>
             												<img src="gko100/back/admin/images/back.gif" width="43" height="15" />
				                  							<s:if test="%{pageNo+1>1}">
				     										</a>
				     										</s:if>
            											</td>
            											<td width="45">
		                  								<s:if test="pageNo<pageCount">
						     							<a href="userList_find.action?pageNo=<s:property value='pageNo+1' /> ">
						     							</s:if>
								                  		<img src="gko100/back/admin/images/next.gif" width="43" height="15" />
								                  		<s:if test="%{pageNo+1<pageCount}">
													     	</a>
							    						</s:if>
            											</td>
            											<td width="40">
	                  									<a href="userList_find.action?pageNo=<s:property value='pageCount' /> ">
	                  										<img src="gko100/back/admin/images/last.gif" width="37" height="15" />
	                  									</a>
	                  								</td>
 													</tr>
											</table>
										</td>
										
										<td>
					        				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					          					<tr>
					            					<td width="54%">
					            						<table border="0" align="right" cellpadding="0" cellspacing="0">
					              							<tr>
					                							<td width="60">
					                								<table width="87%" border="0" cellpadding="0" cellspacing="0">
					                  									<tr>
					                    									<td class="STYLE1">
					                    										<div align="center">
					                      											<input name="全选" type="button" value="全选" id="selectAll" style="width:40px; height:20px; font-size:10px;"/>
					                    										</div>
					                    									</td>
					                    									<td class="STYLE1">
					                    										<div align="center">
										  											<input name="反选" type="button" value="反选" id="unSelect" style="width:40px; height:20px; font-size:10px; margin:auto 10px;"/>
																				</div>
																			</td>
					                  									</tr>
					                								</table>
					                							</td>
					                							<td width="60">
					                								<table width="90%" border="0" cellpadding="0" cellspacing="0">
					                  									<tr>
					                    									<td class="STYLE1">
					                    										<div align="center">
					                    											
					                    										</div>
					                    									</td>
					                  									</tr>
					                								</table>
					                							</td>
					                							<td width="52">
					                								<table width="88%" border="0" cellpadding="0" cellspacing="0">
													                  	<tr>
													                    	<td class="STYLE1">
													                    		<div align="center">
													                    			<input type="submit" value="删除选中" />
													                    		</div>
													                    	</td>
													                  	</tr>
					                								</table>
					                							</td>
					              							</tr>
					            						</table>
					            					</td>
					          					</tr>
					        				</table>
        								</td>	
									</tr>
							</table>
						</td>
					</tr>
			</table>
		</td>
	</tr>
	
	</form>
</table>

<s:debug></s:debug>		

</body>
</html>
